package com.ruoyi.huoyun.finance.service;

import java.util.List;
import com.ruoyi.huoyun.finance.domain.AccountReceivable;

/**
 * 应收账单Service接口
 * 
 * @author mj
 * @date 2021-11-29
 */
public interface IAccountReceivableService 
{
    /**
     * 查询应收账单
     * 
     * @param voucherPayableNo 应收账单主键
     * @return 应收账单
     */
    public AccountReceivable selectAccountReceivableByVoucherPayableNo(String voucherPayableNo);

    /**
     * 查询应收账单列表
     * 
     * @param accountReceivable 应收账单
     * @return 应收账单集合
     */
    public List<AccountReceivable> selectAccountReceivableList(AccountReceivable accountReceivable);

    /**
     * 新增应收账单
     * 
     * @param accountReceivable 应收账单
     * @return 结果
     */
    public int insertAccountReceivable(AccountReceivable accountReceivable);

    /**
     * 修改应收账单
     * 
     * @param accountReceivable 应收账单
     * @return 结果
     */
    public int updateAccountReceivable(AccountReceivable accountReceivable);

    /**
     * 批量删除应收账单
     * 
     * @param voucherPayableNos 需要删除的应收账单主键集合
     * @return 结果
     */
    public int deleteAccountReceivableByVoucherPayableNos(String[] voucherPayableNos);

    /**
     * 删除应收账单信息
     * 
     * @param voucherPayableNo 应收账单主键
     * @return 结果
     */
    public int deleteAccountReceivableByVoucherPayableNo(String voucherPayableNo);
}
